[#ftl]
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <!--<title>[#if title != '']${title}[#else]Welcome[/#if] | ${rc.getMessage("webapp.name")}</title>-->
	<title>iGoal.vn - Chia sẻ mục tiêu của bạn</title>
    <meta http-equiv="Cache-Control" content="no-store"/>
    <meta http-equiv="Pragma" content="no-cache"/>
    <meta http-equiv="Expires" content="0"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
	<link href="styles/default.css" rel="stylesheet" type="text/css">
	
	<link href="styles/tmpStyle.css" rel="stylesheet" type="text/css">
	<link rel="stylesheet" type="text/css" href="styles/home/default.css">
	<script type="text/javascript">
		var ctx = '${rc.contextPath}';
	</script>
	<script type="text/javascript" src="scripts/jquery-1.4.2.min.js"></script>
	<script type="text/javascript" src="scripts/jquery.ui.core.min.js"></script>
	<script type="text/javascript" src="scripts/jquery.ui.widget.min.js"></script>   
	<script type="text/javascript" src="scripts/jquery.ui.button.js"></script>
    <link rel="shortcut icon" href="${base}/images/favicon.ico" type="image/x-icon"/>
    ${head}
</head>
<body>
<div id="all">
<script>
	 $(function() {
        $(".LoginPopup input").button();
    });
</script>
	 <div class="align headerBar" align="center">
        <div class="main headerBarContent UsePositionRelative">
            <div class="searchBox UsePositionAbsolute">
                <input type="text" value="tìm kiếm" />
                <span></span>
            </div>
            [#if userSession?exists]           
            <ul>
                <li class="settingiGoal">
                    <a href="">
                        <label>iGoal</label><span></span>
                    </a>
                </li>
                <li class="line"></li>
                <li>
                    <dl>
                        <dd class="l"></dd>
                        <dt>${userSession}</dt>
                        <dd class="r">
                            <span></span>
                        </dd>
                    </dl>
                </li>
                <li class="logout">
                    <a href="/j_spring_security_logout">[ Thoát ]</a>
                </li>
            </ul>
            [/#if]
        </div>
    </div>
    <div class="align banner" align="center">
        <div class="main UsebackgroundPosition bannerImage UsePositionRelative">
            <div class="logoDefault">
                    <a href="/dashboard.html" title="Chia sẻ mục tiêu của bạn">
                        <img src="/images/logoDefault.png" width="136" height="54" alt="IGoal Logo" />
                    </a>
                    <label title="Hãy cùng nhau đi đến thành công!">Chia sẻ mục tiêu của bạn</label>
                </div>        
        </div>
    </div>
    <div class="align" align="center">
        <div class="main">
            [#include "/views/messages.ftl"/]
        	${body}
        </div>
    </div>
	
</body>
</div>
<div class="clear"></div>
    <div class="home_footer home_footerAlign" align="center">
        <div class="main">
            <div class="min_logo">
                <a   href="http://www.igoal.vn" title="Chia sẻ mục tiêu của bạn">
                    <img src="images/min_logo.png" width="76" height="26" alt="IGoal Logo" />
                </a>
                <label title="Hãy cùng nhau đi đến thành công!">Chia sẻ mục tiêu của bạn</label>
            </div>
            <ul>
                <li><a href="/viewPage.html?page=aboutUs" title="iGoal.vn">iGoal.vn</a></li>
                <li><a href="/viewPage.html?page=term" title="Thỏa thuận sử dụng">Thỏa thuận sử dụng</a></li>
                <li><a href="/viewPage.html?page=privacy" title="Bảo vệ riêng tư">Bảo vệ riêng tư</a></li>
                <!--li><a href="" title="Đăng quảng cáo">Đăng quảng cáo</a></li-->
                <li class="last"><a href="/viewPage.html?page=contactUs" title="Liên hệ">Liên hệ</a></li>                                 
            </ul>
            <span>
                Copyright © 2009 iGoal<br />
            </span>
        </div>
    </div>    
</html>